package org.msfj.hospital.service;

import org.msfj.hospital.model.HospitalNews;
import org.msfj.hospital.vo.HospitalNewsVo;
import org.msfj.common.base.BaseService;
import com.github.pagehelper.PageInfo;
import java.util.List;
/**
 * @Description: 医院新闻信息Service接口
 * @Author: like
 * @Email: like@deyatong.com
 * @Date: 2018-08-21 15:01:20
 * @Version: 1.0
 * @Created in idea by autoCode
 */
public interface HospitalNewsService extends BaseService<HospitalNews> {

    /**
     * 根据条件分页查询医院新闻信息列表
     *
     * @param hospitalNewsVo
     * @param page 当前第几页
     * @param rows 每页多少条记录
     * @return PageInfo<HospitalNews>
     */
    PageInfo<HospitalNewsVo> getByHospitalNews(HospitalNewsVo hospitalNewsVo,int page, int rows);

    /**
     * 根据条件查询所有医院新闻信息对象列表
     *
     * @param hospitalNewsVo
     * @return List<HospitalNews>
     */
    List<HospitalNewsVo> getAllHospitalNews(HospitalNewsVo hospitalNewsVo);

    /**
     * 设置vo的其他属性属性
     *
     * @param hospitalNews
     * @return HospitalNewsVo
     */
    HospitalNewsVo setOtherProperties(HospitalNews hospitalNews);

    /**
     * 设置vo的其他属性属性
     *
     * @param hospitalNewss
     * @return List<HospitalNewsVo>
     */
    List<HospitalNewsVo> setOtherProperties(List<HospitalNews> hospitalNewss);
}
